//
//  ViewController.m
//  01-团队开发项目(git)
//
//  Created by Apple on 16/10/19.
//  Copyright © 2016年 yunjia. All rights reserved.
//

#import "ViewController.h"
#import "YBViewController.h"
#import "OtherViewController.h"

@interface ViewController ()

@end

@implementation ViewController
// 云加iOS03班
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)xixihemaimai:(UIButton *)sender {
    YBViewController *xixi = [[YBViewController alloc]init];
    
    [self.navigationController pushViewController:xixi animated:YES];
}

- (IBAction)pushClick:(id)sender {
    OtherViewController *vc = [[OtherViewController alloc] init];
    vc.title = @"下一个界面";
    vc.view.backgroundColor = [UIColor orangeColor];
    [self.navigationController pushViewController:vc animated:YES];
    
    
    
}




@end
